<?php

namespace Application\Form;

use Zend\Captcha\AdapterInterface as CaptchaAdapter;
use Zend\Form\Element;
use Zend\Form\Form;
use Zend\Captcha;
use Zend\Form\Factory;

class Carreras extends Form
{
    public function __construct($name = null) 
    {
        parent::__construct($name);
        
        $select = new Element\Select('matricula');
        $select->setLabel('Matricula - Carrera: ');
        $this->add($select);
              
        $this->add(array(
            'name' => 'aceptar',
            'attributes' => array(
                'type' => 'submit',
                'value' => 'Aceptar',
                'title' => 'Aceptar',
                'class' => 'btn btn-success pull-right',
            ),
        ));
        
        $id_usuario = new Element\Hidden('id_oculto');
        $this->add($id_usuario);
        $rol_usuario = new Element\Hidden('rol_oculto');
        $this->add($rol_usuario);
        
    }
}
